﻿using PropertyChanged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBOptionPro.Model
{
    /// <summary>
    /// 系统设置实体类
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class SysOption
    {
        /// <summary>
        /// ip
        /// </summary>
        public string IP { get; set; } = "114.215.192.87";

        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; } = 3306;

        /// <summary>
        /// 同步间隔，单位分钟
        /// </summary>
        public int SyncInterval { get; set; } = 60;

        /// <summary>
        /// 年度
        /// </summary>
        public string Year { get; set; } = "2022";

        /// <summary>
        /// 数据库名
        /// </summary>
        public string DBName { get; set; } = "zsclient";

        /// <summary>
        /// 用户名
        /// </summary>
        public string User { get; set; } = "zsclient";

        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; } = "13477080618";

        /// <summary>
        /// 监控文件配置参数
        /// </summary>
        public MonitorDBFFileParameter DBFMontiorParams { get; set; } = new MonitorDBFFileParameter();
    }
}
